<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s"  uri="/struts-tags"%>




<title>法人银行信贷信息</title><span id="navlink"> 企业客户信息  >> 法人银行信贷信息</span>


<script type="text/javascript" src="<%=request.getContextPath()%>/js/custom/companybankcredit.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/common/numdiv.js"></script>   <s:if test='#session.eflage=="show"'> <style type="text/css">	select {border:0;-webkit-appearance: none;} </style> </s:if>


<style type="text/css">
.ftab ul li{padding:0 10px;float:left;font-weight:bold;}
.ftab a{color:black}
.ftab a:hover{text-decoration:underline;}
</style>


<script>
  $(function() {
    $( "#accordion" ).accordion({
      collapsible: true
    });
  });
 </script>

<div id="accordion" style="width:auto">
  <h3>客户信息登记</h3>
  <div class="ftab">
    <ul >
			<li><a href="customShow!companyread">基本信息</a></li>
			<li><a href="customList!contactlist">联系信息</a></li>
			<li><a href="customList!topmanagerlist">高管信息</a></li>
			<li><a href="customList!prosecutedlist">被起诉信息</a></li>
			<li><a href="customList!investorlist">投资人信息</a></li>
			<li><a href="customList!foreigninvestorlist">对外投资信息</a></li>
			<!-- 
			<li><a href="customList!guarantorlist">法人保证人专用信息表</a></li>
			 -->
			<li><a href="customList!pledgercompanylist">抵质押清单信息</a></li>			
		
			<li><a href="customList!managelist">管理信息</a></li>	
					
			<li><a href="customList!externalguaranteelist">对外担保信息</a></li>
			<!-- 
			<li><a href="NewCompanyOtherrelation">法人其他关联关系表</a></li>
			 -->
			 
			<li><a href="customList!otherloanlist">其他借款</a></li>
			 
			<li><a href="customList!bankcreditlist">银行信贷信息</a></li>
			
			
			
			<li><a href="customList!cashflowlist">现金流量表</a></li>
			<li><a href="customList!assetsdebtlist">资产负债表</a></li>
			<li><a href="customList!profitlist">损益表表</a></li>	
			 <li><a href="upload!filelist?listtype=1">客户基础资料归档目录</a></li>
			 <li><a href="upload!filelist?listtype=2">客户必备资料归档目录</a></li>			
				<!-- <li><a href="./ListCompanyPledger!getCompanyPledgerList">抵押清单信息</a></li> -->			
		</ul>
  </div>
</div>
<div class="clear"></div>
<div id="msg"></div>
<form name="newCompanyBankcredit" action="customActionDo!bankcreditsave" method="post" id="form">
<input type="hidden" name="cbankcredit.id"  value="${cbankcredit.id }" />
<table class="table_box table_all_border" cellspacing="0" cellpadding="0">
<tr>
<th align="right"><span class="need">*</span>客户ID</th>
<td>RF0<input type="text" readonly="readonly" name="cbankcredit.cid"  value="${sessionScope.companyid}" /></td>
<th align="right"><span class="need">*</span>统计日期</th>
<td><input type="text"class="datepicker"  readonly="readonly" name="cbankcredit.statisticaldate"  value="<s:date name="cbankcredit.statisticaldate" format="yyyy-MM-dd" />" /></td>
</tr>
<tr>
<th align="right"><span class="need">*</span>授信额度</th>
<td><input type="text" name="cbankcredit.lineofcredit" class="numdiv" value="${cbankcredit.lineofcredit}" /></td>
<th align="right">授信到期日</th>
<td><input type="text"class="datepicker"  readonly="readonly" name="cbankcredit.loanmaturity"  value="<s:date name="cbankcredit.loanmaturity" format="yyyy-MM-dd" />" /></td>
</tr>
<tr>
<th align="right">用信合计</th>
<td><input type="text" name="cbankcredit.lettertogether" class="numdiv" value="${cbankcredit.lettertogether}" /></td>
<th align="right">贷款合计</th>
<td><input type="text" name="cbankcredit.totalloans" class="numdiv" value="${cbankcredit.totalloans}" /></td>
</tr>
<tr>
<th align="right">流动资金贷款</th>
<td><input type="text" name="cbankcredit.workingcapitalloans" class="numdiv" value="${cbankcredit.workingcapitalloans}" /></td>
<th align="right">贸易融资贷款</th>
<td><input type="text" name="cbankcredit.tradefinancingloan" class="numdiv" value="${cbankcredit.tradefinancingloan}" /></td>
</tr>
<tr>
<th align="right">固定资产贷款</th>
<td><input type="text" name="cbankcredit.fixedassetsloans" class="numdiv" value="${cbankcredit.fixedassetsloans}" /></td>
<th align="right">房地产开发贷款</th>
<td><input type="text" name="cbankcredit.estatedevelopmentloans" class="numdiv" value="${cbankcredit.estatedevelopmentloans}" /></td>
</tr>
<tr>
<th align="right">上年未流动资金贷款</th>
<td><input type="text" name="cbankcredit.pynotworkloans" class="numdiv" value="${cbankcredit.pynotworkloans}" /></td>
<th align="right">上年未贸易融资贷款</th>
<td><input type="text" name="cbankcredit.pynottradeloan" class="numdiv" value="${cbankcredit.pynottradeloan}" /></td>
</tr>
<tr>
<th align="right">上年未固定资产贷款</th>
<td><input type="text" name="cbankcredit.pynotfixedloans" class="numdiv" value="${cbankcredit.pynotfixedloans}" /></td>
<th align="right">上年末房地产开发贷款</th>
<td><input type="text" name="cbankcredit.pyestateloans" class="numdiv" value="${cbankcredit.pyestateloans}" /></td>
</tr>
<tr>
<th align="right">上年末出口买方信贷</th>
<td><input type="text" name="cbankcredit.pyexportbuyercredit" class="numdiv" value="${cbankcredit.pyexportbuyercredit}" /></td>
<th align="right">上年末银行承兑汇票</th>
<td><input type="text" name="cbankcredit.pybankacceptbill" class="numdiv" value="${cbankcredit.pybankacceptbill}" /></td>
</tr>
<tr>
<th align="right">上年末信用证</th>
<td><input type="text" name="cbankcredit.pylettercredit" class="numdiv" value="${cbankcredit.pylettercredit}" /></td>
<th align="right">贸易融资贷款比年初</th>
<td><input type="text" name="cbankcredit.tradeloanstb" class="numdiv" value="${cbankcredit.tradeloanstb}" /></td>
</tr>
<tr>
<th align="right">固定资产贷款比年初</th>
<td><input type="text" name="cbankcredit.fixedloanstb" class="numdiv" value="${cbankcredit.fixedloanstb}" /></td>
<th align="right">房地产开发贷款比年初</th>
<td><input type="text" name="cbankcredit.estateloanstb" class="numdiv" value="${cbankcredit.estateloanstb}" /></td>
</tr>
<tr>
<th align="right">保函比年初</th>
<td><input type="text" name="cbankcredit.guaranteetb" class="numdiv" value="${cbankcredit.guaranteetb}" /></td>
<th align="right">贴现比年初</th>
<td><input type="text" name="cbankcredit.discountratiotb" class="numdiv" value="${cbankcredit.discountratiotb}" /></td>
</tr>
<tr>
<th align="right">其他信用比年初</th>
<td><input type="text" name="cbankcredit.othercredittb" class="numdiv" value="${cbankcredit.othercredittb}" /></td>
<th align="right">对外担保债权次级类总额</th>
<td><input type="text" name="cbankcredit.totalforeigndebt" class="numdiv" value="${cbankcredit.totalforeigndebt}" /></td>
</tr>
<tr>
<th align="right">对外担保债券损失类总额</th>
<td><input type="text" name="cbankcredit.foreignbondlossamount" class="numdiv" value="${cbankcredit.foreignbondlossamount}" /></td>
<th align="right">保证人性质</th>
<td><input type="text" name="cbankcredit.guarantorproperty" class="numdiv" value="${cbankcredit.guarantorproperty}" /></td>
</tr>
<tr>
<th align="right">出口买方借贷</th>
<td><input type="text" name="cbankcredit.exportbuyercredit" class="numdiv" value="${cbankcredit.exportbuyercredit}" /></td>
<th align="right">银行承兑汇票</th>
<td><input type="text" name="cbankcredit.bankacceptancebill" class="numdiv" value="${cbankcredit.bankacceptancebill}" /></td>
</tr>
<tr>
<th align="right">信用证</th>
<td><input type="text" name="cbankcredit.letterofcredit" class="numdiv" value="${cbankcredit.letterofcredit}" /></td>
<th align="right">保函</th>
<td><input type="text" name="cbankcredit.letterofguarantee" class="numdiv" value="${cbankcredit.letterofguarantee}" /></td>
</tr>
<tr>
<th align="right">贴现</th>
<td><input type="text" name="cbankcredit.discount" class="numdiv" value="${cbankcredit.discount}" /></td>
<th align="right">其他信用</th>
<td><input type="text" name="cbankcredit.othercredit" class="numdiv" value="${cbankcredit.othercredit}" /></td>
</tr>
<tr>
<th align="right">不良信用余额</th>
<td><input type="text" name="cbankcredit.badcreditbalance" class="numdiv" value="${cbankcredit.badcreditbalance}" /></td>
<th align="right">欠息余额</th>
<td><input type="text" name="cbankcredit.interestbalance" class="numdiv" value="${cbankcredit.interestbalance}" /></td>
</tr>
<tr>
<th align="right">上年未用信合计</th>
<td><input type="text" name="cbankcredit.pylettertotal" class="numdiv" value="${cbankcredit.pylettertotal}" /></td>
<th align="right">上年未贷款合计</th>
<td><input type="text" name="cbankcredit.pycredittotal" class="numdiv" value="${cbankcredit.pycredittotal}" /></td>
</tr>
<tr>
<th align="right">上年末保函</th>
<td><input type="text" name="cbankcredit.pyguaranteetotal" class="numdiv" value="${cbankcredit.pyguaranteetotal}" /></td>
<th align="right">上年末贴现</th>
<td><input type="text" name="cbankcredit.pydiscount" class="numdiv" value="${cbankcredit.pydiscount}" /></td>
</tr>
<tr>
<th align="right">上年末其他信用</th>
<td><input type="text" name="cbankcredit.pyothercredit" class="numdiv" value="${cbankcredit.pyothercredit}" /></td>
<th align="right">上年末不良信用余额</th>
<td><input type="text" name="cbankcredit.pybadcreditbalance" class="numdiv" value="${cbankcredit.pybadcreditbalance}" /></td>
</tr>
<tr>
<th align="right">信用合计比年初</th>
<td><input type="text" name="cbankcredit.credittotaltb" class="numdiv" value="${cbankcredit.credittotaltb}" /></td>
<th align="right">流动资金贷款比年初</th>
<td><input type="text" name="cbankcredit.liquidityloanstb" class="numdiv" value="${cbankcredit.liquidityloanstb}" /></td>
</tr>
<tr>
<th align="right">出口买方信贷比年初</th>
<td><input type="text" name="cbankcredit.exportbuyercredittb" class="numdiv" value="${cbankcredit.exportbuyercredittb}" /></td>
<th align="right">银行承兑汇票比年初</th>
<td><input type="text" name="cbankcredit.bankacceptancebilltb" class="numdiv" value="${cbankcredit.bankacceptancebilltb}" /></td>
</tr>
<tr>
<th align="right">信用证比年初</th>
<td><input type="text" name="cbankcredit.letterofcredittb" class="numdiv" value="${cbankcredit.letterofcredittb}" /></td>
<th align="right">不良信用余额比年初</th>
<td><input type="text" name="cbankcredit.badcreditbalancetb" class="numdiv" value="${cbankcredit.badcreditbalancetb}" /></td>
</tr>
<tr>
<th align="right">对外担保债权正常类总额</th>
<td><input type="text" name="cbankcredit.fgnormal" class="numdiv" value="${cbankcredit.fgnormal}" /></td>
<th align="right">对外担保债权关注类总额</th>
<td><input type="text" name="cbankcredit.fgconcerned" class="numdiv" value="${cbankcredit.fgconcerned}" /></td>
</tr>
<tr>
<th align="right">对外担保债权次级类总额</th>
<td><input type="text" name="cbankcredit.fgdoubtful" class="numdiv" value="${cbankcredit.fgsecondary}" /></td>
<th align="right">对外担保债权可疑类总额</th>
<td><input type="text" name="cbankcredit.fgdoubtful" class="numdiv" value="${cbankcredit.fgdoubtful}" /></td>
</tr>
<tr>
<th align="right">对外担保债权损失类总额</th>
<td colspan="3"><input type="text" name="cbankcredit.fglose" class="numdiv" value="${cbankcredit.fgdoubtful}" /></td>
</tr>

</table>

<div id="button_area">
<div><input type="submit"  value="保存"/></div>
</div>
</form>
<input type="hidden" id="eflage" name="eflage" value="${sessionScope.eflage }" />
<script type="text/javascript">
<!--
	$(document).ready(function(){
		if($("#eflage").val() === 'show'){
			$("input[type='text']").prop("readonly", true);
			$("input[type='select']").prop("disabled", true);
			$("input[type='text']").addClass("companyid");
			//$("input[type='select']").addClass("companyid");
			$("#button_area").hide();
			$("#left_area").hide();
			$(".del").hide();
			$(".smodify").html('浏览');
			
		}
	});
//-->
</script>
